//
//  ECCollectionViewLayoutAttributes.h
//  collectionView_test00
//
//  Created by stone on 16/12/17.
//  Copyright © 2016年 stone. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SNCollectionReusableView : UICollectionReusableView

@end

@interface SNCollectionViewLayoutAttributes : UICollectionViewLayoutAttributes

@property (nonatomic, strong) UIColor *color;

@end

@protocol SNCollectionViewLayoutDelegate <NSObject>

- (UIColor *)setCollectionViewSectionBackGroundColor:(NSIndexPath *)indexPath;

@end
@interface SNCollectionViewLayout : UICollectionViewFlowLayout
/** minimumLineSpacing */
@property (nonatomic,assign) CGFloat sn_minimumLineSpacing;
/** sn_minimumInteritemSpacing */
@property (nonatomic,assign) CGFloat sn_minimumInteritemSpacing;
/** sn_sectionInset */
@property (nonatomic, assign) UIEdgeInsets sn_sectionInset;
/** sn_itemSize */
@property (nonatomic, assign) CGSize sn_itemSize;

@property (nonatomic, strong) UIColor *color;
/** delegate */
@property (weak, nonatomic) id<SNCollectionViewLayoutDelegate> delegate;
@end
